package LiftData;

import java.util.List;
import java.util.ArrayList;

import org.joda.time.DateTime;

public class Workout {

	private List<Lift> lifts;
	private DateTime date;
	
	public Workout(){
		this(new ArrayList<Lift>());
	}
	
	public Workout(List<Lift> lifts){
		this.lifts = lifts;
		date = new DateTime(); // sets time to current time
	}
	
	
	public void addLift(Lift lift){
		lifts.add(lift);
	}
	
	public void removeLift(Lift lift){
		lifts.remove(lift);
	}
	
	public DateTime getDate(){
		return date;
	}
	
	public List<Lift> getLifts(){
		return lifts;
	}
	
}